package com.zsc.wxapp.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "返回每日价格情况数据")
@Data
public class PriceTimeVO {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "卷烟名称")
    private String productName;

    @ApiModelProperty(value = "市场零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty(value = "涨幅")
    private BigDecimal fluctuationPrice;

    @ApiModelProperty(value = "差价")
    private BigDecimal difference;

    @ApiModelProperty(value = "建议零售价")
    private BigDecimal directRetailPrice;

    @ApiModelProperty(value = "参考毛利率")
    private BigDecimal referGrossProfitMargin;

    @ApiModelProperty(value = "零售价格指数")
    private BigDecimal retailPriceIndex;

    @ApiModelProperty(value = "本店价格")
    private BigDecimal storePrice;

    @ApiModelProperty(value = "产品代码")
    private String productCode;

    @ApiModelProperty(value = "时间")
    private LocalDate date;
}
